package predicate;

import java.util.HashMap;

public class Student {

	/** 
	 * Variable.
	 */
	private String studentName;
	private HashMap<String, Lecture> listLecture;

	/** 
	 * Class constructor.
	 */
	public Student()
	{
		studentName = "unknow";
		listLecture = new HashMap<String, Lecture>();
	}

	/**
	 * Class constructor
	 * @param _studentName a <code>String</code>
	 */
	public Student( String _studentName )
	{
		studentName = _studentName;
		listLecture = new HashMap<String, Lecture>();
	}

	/**
	 * Assessor
	 * @return studentName
	 */
	public String getName()
	{
		return studentName;
	}

	/**
	 * Mutator
	 * @param _studentName a <code>String</code>
	 */
	public void setName( String _studentName)
	{
		studentName = _studentName;
	}

	public void addLecture(String key, Lecture lecture) {
		listLecture.put(key, lecture);
	}
	
	public HashMap<String, Lecture> getListLecture()
	{
		return listLecture;
	}
}